﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASPItalia.ModelVirtualCasting.Fake
{
    public abstract class BaseRepository<T> where T : class
    {
        public virtual T Include(params string[] path)
        {
            T res = this as T;
            if (res == null)
                throw new InvalidCastException();
            return res;
        }
    }
}
